
// ClientSocket.h : header file
#define MAXCHARS  2048
class CTitleWnd;
/////////////////////////////////////////////////////////////////////////////
// CClientSocket command target
class CClientSocket : public CSocket
{
// Attributes
public:
	CTitleWnd* m_pParent;
// Operations
public:
	CClientSocket(CTitleWnd* pParent);
	virtual ~CClientSocket();
	char* m_strRecBuffer;

// Overrides
public:
	void SendData(char* data,DWORD datalen);
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CClientSocket)
	public:
	virtual void OnReceive(int nErrorCode);
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CClientSocket)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

// Implementation
protected:

protected:
public:
	virtual void OnClose(int nErrorCode);
};
